<template>
  <div class="container">
    <div class="content">
      <img src="../assets/img/404.png" alt="404 icon"/>
      <h1>Oops! 页面找不到了</h1>
      <p>您可能输入了错误的 URL 或者该页面已删除或移动到其他地方了。</p>
      <router-link class="back-home" to="/">返回首页</router-link>
    </div>
  </div>
</template>

<style scoped>
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color: #e7f4ff;
}
.content {
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
}
img {
  width: 80%;
  height: 80%;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}
p {
  font-size: 1.5em;
  margin-bottom: 30px;
}
router-link {
  font-size: 1.5em;
  color: #1f8de7;
}
.back-home {
   display: block;
   text-align: center;
    width: 110px;
    height: 36px;
    background: #1482f0;
    border-radius: 100px;
    text-align: center;
    color: #ffffff;
    font-size: 14px;
    line-height: 36px;
    cursor: pointer;
}

</style>
